{% extends "base.html" %}
{% import "_my_wtf_macros.html" as my_wtf_macros %}

{% block title %}万屏时代报价工具--输入需求{% endblock %}
{% block panel_heading %}万屏时代报价工具--输入需求{% endblock %}

{% block panel_body %}
    <form id="cal-condition-form" action="{{ url_for('compute_bp.calculate_price') }}" method="post" class="form" role="form">

        {{ my_wtf_macros.form_field(form.scene_type, div_col=8, label_col=2, field_col=10) }}
        <div class="clearfix visible-xs-block visible-sm-block visible-md-block visible-lg-block"></div>

        {{ my_wtf_macros.form_field(form.color, div_col=8, label_col=2, field_col=10) }}
        <div class="clearfix visible-xs-block visible-sm-block visible-md-block visible-lg-block"></div>
        {{ my_wtf_macros.form_field(form.spacing, div_col=8, label_col=2, field_col=10) }}
        <div class="clearfix visible-xs-block visible-sm-block visible-md-block visible-lg-block"></div>

        {{ my_wtf_macros.form_field(form.wide, div_col=4, label_col=4, field_col=8) }}

        {{ my_wtf_macros.form_field(form.high, div_col=4, label_col=4, field_col=8) }}
        <div class="clearfix visible-xs-block visible-sm-block visible-md-block visible-lg-block"></div>

        {{ my_wtf_macros.form_field(form.ground_high, div_col=8, label_col=2, field_col=10) }}
        <div class="clearfix visible-xs-block visible-sm-block visible-md-block visible-lg-block"></div>
        {{ my_wtf_macros.form_field(form.install_way, div_col=8, label_col=2, field_col=10) }}
        <div class="clearfix visible-xs-block visible-sm-block visible-md-block visible-lg-block"></div>

        {{ my_wtf_macros.form_field(form.assemble_way, div_col=8, label_col=2, field_col=10) }}
        <div class="clearfix visible-xs-block visible-sm-block visible-md-block visible-lg-block"></div>

        {{ my_wtf_macros.form_field(form.transport, div_col=8, label_col=2, field_col=10) }}
        <div class="clearfix visible-xs-block visible-sm-block visible-md-block visible-lg-block"></div>

        <input class="form-control" type="text" style="display:none" id="specs", name="specs" value="">
        <div class="pull-left">
            <button type="submit" class="btn btn-success"
                    id="add-demand-btn">
                进行计算
            </button>
        </div>

    </form>


{% endblock %}